package com.xky.redis_cluster.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author keying.xia
 */

@ConfigurationProperties(prefix = "spring.redis.cluster")
@Component
@Data
public class JedisClusterProperties {

    private String nodes;

    private int maxIdel;

    private int minIdle;

    private int maxWaitMills;

    private boolean testOnBorrow;

    private boolean testOnReturn;

    private int connectionTimeOut;

    private int maxAttempt;

    private String password;

    private int soTimeOut;

}
